package com.cloud.quickcore.admin.dao;

import com.cloud.quickcommon.biz.BaseBizRepository;
import com.cloud.quickcore.admin.entity.SysUser;

import java.util.Optional;

/**
 * 系统用户Dao
 *
 * @author NiJo_H
 * @version 1.0
 * @date 2019/6/23 14:52
 */
public interface SysUserRepository extends BaseBizRepository<SysUser, String> {

    /**
     * 查询用户信息--By:userName
     */
    Optional<SysUser> findSysUserByUsername(String userName);
}
